home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr50 / freebsd.zip / FREEBSD.FAQ
Text File  |  1995-02-28  |  36KB  |  908 lines

  1.  
  2.                                FreeBSD
  3.                       Frequently Asked Questions
  4.                            For Version 2.0 
  5.  
  6. Please mail all suggestions and additions to <FAQ@FreeBSD.ORG>
  7.  
  8.  
  9. Revision: $Id: FreeBSD.FAQ,v 1.20 1995/02/27 08:31:19 phk Exp $
  10.  
  11. All entries are assumed to be relevant to FreeBSD 2.0. 
  12. Any entries with a <XXX> are under construction.
  13.  
  14.  
  15. Table of Contents
  16. -----------------
  17.  
  18. 0 Preface
  19. 1 Installation
  20. 2 Hardware Compatibility
  21. 3 Commercial applications
  22. 4 User Applications
  23. 5 Miscellaneous Questions
  24. 6 Kernel Configuration 
  25. 7 System Administration
  26. 8 Networking
  27. 9 Serial Communications <XXX> 
  28.  
  29.  
  30.  
  31. 0 Preface
  32. ---------
  33.  
  34. Welcome to the FreeBSD 2.0 FAQ!  This document tries to answer some of
  35. the most frequently asked questions about FreeBSD 2.0.  
  36. If there's something you're having trouble with and you do not see it
  37. here, please send email to:
  38.  
  39.                     <questions@FreeBSD.ORG>
  40.  
  41.  
  42. Some of the instructions here will also refer to auxiliary utilities
  43. in the /usr/src/share/FAQ directory.  CDROM purchasers and net folks
  44. who've grabbed the FreeBSD 2.0 `srcdist' will have these files.  If
  45. you don't have the source distribution, then you can either grab the
  46. whole thing from:
  47.  
  48.                ftp://ftp.FreeBSD.ORG/pub/FreeBSD/FreeBSD-current
  49.  
  50. Or you can grab only those files you're interested in straight out of
  51. the FreeBSD-current distribution in:
  52.  
  53.               ftp://ftp.FreeBSD.ORG/pub/FreeBSD/FreeBSD-current/src
  54.  
  55. 0.1:  What is FreeBSD?  
  56.  
  57. FreeBSD 2.0 is a UN*X type operating system based on U.C. Berkeley's 
  58. 4.4BSD-lite release for the i386 platform.  It is also based indirectly
  59. on William Jolitz's port of U.C. Berkeley's Net/2 to the i386, 386BSD.
  60. There have been many additions and bug fixes made throughout
  61. the entire system, some of the highlights of which are:
  62.  
  63.    More robust and extensive PC device support
  64.    System V-style IPC, messaging and semaphores
  65.    Shared Libraries
  66.    Much improved virtual memory code
  67.    Better console driver support
  68.    Network booting (diskless) support
  69.    Yellow Pages support
  70.    Full support of the PCI bus
  71.    Loadable kernel modules
  72.    Too many additional utilities and applications to mention
  73.  
  74.  
  75. 0.2:  What are the FreeBSD mailing lists, and how can I get on them? 
  76.  
  77. The following mailing lists are provided for FreeBSD users and
  78. developers.  For more information, send to
  79. <majordomo@FreeBSD.ORG> and include a single line saying
  80. ``help'' in the body of your message.
  81.  
  82. announce:  For announcements about or on FreeBSD.
  83. hackers:   Useful for persons wishing to work on the internals. 
  84. questions: General questions on FreeBSD. 
  85. bugs:      Where bugs should be sent.
  86. SCSI:      Mailing list for SCSI developers. 
  87. current:   This list is for persons wishing to run FreeBSD-current
  88.            and carries announcements and discussions on current.
  89. security:  For issues dealing with system security. 
  90. platforms: Deals with ports to non-Intel platforms
  91. ports:     Discussion of /usr/ports/???
  92. fs:        Discussion of FreeBSD Filesystems
  93. hardware:  Discussion on hardware requirements for FreeBSD.
  94.  
  95. The FreeBSD-commit list has been broken up into groups dealing with different
  96. areas of interest.  Please see the FreeBSD mailing list FAQ in:
  97.  
  98.         /usr/src/share/FAQ/mailing-list.FAQ
  99.  
  100.  
  101. 0.3:  What are the various FreeBSD news groups? 
  102.  
  103. While there are no groups currently dedicated to FreeBSD, you may find
  104. the following groups useful.
  105.  
  106. comp.os.386bsd.announce:     For announcements
  107. comp.os.386bsd.apps:         For applications
  108. comp.os.386bsd.questions:    For questions
  109. comp.os.386bsd.development:  For working on the internals
  110. comp.os.386bsd.bugs:         About bugs
  111. comp.os.386bsd.misc:         For items that don't fit anywhere else
  112.  
  113. NOTE: These groups cover all the *BSDs (FreeBSD, NetBSD, 386BSD).
  114.  
  115. comp.os.bsd:                 General BSD topics, maybe of intrest
  116.  
  117. NOTE: As of the date of this writing, there is has been a break up of 
  118. newsgroups into groups for each OS.  These groups can be found under
  119. ``comp.unix.bsd''.
  120.  
  121.  
  122. 1 Installation
  123. --------------
  124.  
  125. 1.1:  I want to install FreeBSD onto a SCSI disk that has more than
  126.       1024 cylinders.  How do I do it?
  127.  
  128. This depends.  If you don't have DOS (or another operating system) on
  129. the system, you can just keep the drive in native mode and simply make
  130. sure that your root partition is below 1024 so the BIOS can boot the
  131. kernel from it.  It you also have DOS/some other OS on the drive then
  132. your best bet is to find out what parameters that it thinks you have
  133. before installing FreeBSD.  When FreeBSD's installation procedure
  134. prompts you for these values, you should then enter them rather than
  135. simply going with the defaults.
  136.  
  137. There is a freely available utility distributed with FreeBSD called
  138. `pfdisk' (located in the tools/dos-tools subdirectory) which can be used for
  139. this purpose.
  140.  
  141.  
  142. 1.2:  When I boot FreeBSD it says ``Missing Operating System''.
  143.  
  144. See question 1.2.  This is classically a case of FreeBSD and DOS or
  145. some other OS conflicting over their ideas of disk geometry.  You will
  146. have to reinstall FreeBSD, but obeying the instructions given above
  147. will almost always get you going.
  148.  
  149. 1.3:  When I install the boot manager and try to boot FreeBSD for the
  150.       first time, it just comes back with the boot manager prompt again.
  151.  
  152. This is another symptom of the problem described in 1.2.  Your
  153. BIOS geometry and FreeBSD geometry settings do not agree!  If your
  154. controller or BIOS supports cylinder translation (often marked
  155. as ">1GB drive support"), try toggling its setting and reinstalling
  156. FreeBSD.
  157.  
  158. 1.4:  I have an IDE drive with lots of bad blocks on it and FreeBSD doesn't
  159.       seem to install properly.
  160.  
  161. FreeBSD's bad block (bad144) handling is still not 100% (to put it
  162. charitably) and it must unfortunately be said that if you've got an
  163. IDE or ESDI drive with lots of bad blocks, then FreeBSD is probably
  164. not for you!  That said, it does work on thousands of IDE based
  165. systems, so you'd do well to try it first before simply giving up.
  166.  
  167. IDE drives are *supposed* to come with built-in bad-block remapping;
  168. if you have documentation for your drive, you may want to see if this
  169. feature has been disabled on your drive.  However, ESDI, RLL, and
  170. ST-506 drives normally do not do this.
  171.  
  172. 1.5:  I have 32MB of memory, should I expect any special problems?
  173.  
  174. No.  FreeBSD 2.0 comes with bounce buffers which allows your bus
  175. mastering controller access to greater than 16MB.
  176.  
  177. 1.6:  Do I need to install the complete sources?
  178.  
  179. In general, no.  However, we would strongly recommend that you
  180. install, at a minimum, the `base' source kit, which includes several
  181. of the files mentioned here, and the `sys' (kernel) source kit, which
  182. includes sources for the kernel.  There is nothing in the system which
  183. requires the presence of the sources to operate, however, except for
  184. the kernel-configuration program config(8).  With the exception of the
  185. kernel sources, our build structure is set up so that you can
  186. read-only mount the sources from elsewhere via NFS and still be able
  187. to make new binaries.  (Because of the kernel-source restriction, we
  188. recommend that you not mount this on /usr/src directly, but rather in
  189. some other location with appropriate symbolic links to duplicate the
  190. top-level structure of the source tree.)
  191.  
  192. Having the sources on-line and knowing how to build a system with them
  193. will make it much easier for you to upgrade to future releases of
  194. FreeBSD.
  195.  
  196. 1.7:  DES encryption software can not be exported from the United
  197.       States.  If I live outside the US, how can I encrypt passwords?
  198.  
  199. If it is not absolutely imperative that you use DES style encryption,
  200. you can use FreeBSD's default encryption for even _better_ security,
  201. and with no export restrictions.  FreeBSD 2.0's password default
  202. scrambler is now MD5 based, and is more CPU-intensive to crack
  203. with an automated password cracker than DES.
  204.  
  205. Since the DES encryption algorithm cannot legally be exported from the US,
  206. non-US users should not download this software (as part of the secrdist)
  207. from US FTP sites.
  208.  
  209. There is however a replacement libcrypt available, based on sources
  210. written in Australia by David Burren.  This code is now available on
  211. some non-US FreeBSD mirror sites.  Sources for the unencumbered
  212. libcrypt, and binaries of the programs which use it, can be obtained
  213. from the following FTP sites:
  214.  
  215.         South Africa:   braae.ru.ac.za:/pub/FreeBSD/securedist/
  216.                         owl.und.ac.za (currently uncertain)
  217.         Iceland:        ftp.veda.is:/pub/crypt/FreeBSD/
  218.  
  219. The non-US securedist can be used as a direct replacement for the
  220. encumbered US securedist.  This securedist package is installed the
  221. same way as the US package (see installation notes for details).  If
  222. you are going to install DES encryption, you should do so as soon as
  223. possible, before installing other software.
  224.  
  225. Non-US users should please not download any encryption software from
  226. the USA.  This can get the maintainers of the sites from which the
  227. software is downloaded into severe legal difficulties.
  228.  
  229. A non-US distribution of Kerberos is also being developed, and current
  230. versions can generally be obtained by anonymous FTP from
  231. braae.ru.ac.za.
  232.  
  233. There is a mailing list for the discussion of non-US encryption
  234. software.  For more information, send an email message with a single
  235. line saying ``help'' in the body of your message to
  236. <majordomo@braae.ru.ac.za>.
  237.  
  238.  
  239.  
  240. 2 Hardware compatibility
  241. ------------------------
  242.  
  243. 2.1:  What kind of hard drives does FreeBSD run on?
  244.  
  245. FreeBSD supports ST-506 (sometimes called ``MFM''), RLL, and ESDI
  246. drives, which are usually connected to WD-1002, WD-1003, or WD-1006
  247. controllers (although clones should also work).
  248.  
  249. FreeBSD also supports IDE and SCSI hard drives.
  250.  
  251. 2.2:  What SCSI controllers are supported?
  252.  
  253. FreeBSD supports the following SCSI controllers:
  254.  
  255. Adaptec              AH-154x Series <ISA>
  256.                      AH-174x Series <EISA>
  257.                      AH-152x Series <ISA>
  258.              AH-2742/2842 Series <ISA/EISA>
  259.              AH-2820/2822/2825 Series <VLB>
  260. Buslogic             BT-445 Series <VLB> (but see section 1.5)
  261.                      BT-545 Series <ISA>
  262.                      BT-742 Series <EISA>
  263.                      BT-747 Series <EISA>
  264.                      BT-964 Series <PCI>
  265. Future Domain        TMC-950 Series <ISA> 
  266. PCI Generic          NCR 53C810 based controllers <PCI> 
  267. ProAudioSpectrum     Zilog 5380 based controllers <ISA>
  268.                      SCSI-2 controllers <ISA>
  269. Seagate              ST-01/02 Series <ISA>
  270. UltraStor            UH-14f Series <ISA>
  271.                      UH-34f Series <EISA/VLB>
  272.  
  273.  
  274. 2.3:  What CD-ROM drives are supported by FreeBSD?
  275.  
  276. Any SCSI drive connected to a supported controller.
  277.  
  278. Mitsumi LU002(8bit), LU005(16bit) and FX001D(16bit 2x Speed).
  279. NOTE: The Mitsumi IDE CD-ROMs are NOT supported.
  280.  
  281. FreeBSD does NOT support drives connected to a Sound Blaster or
  282. non-SCSI SONY or Panasonic drives at this time.  A general rule of thumb when
  283. selecting a CDROM drive for FreeBSD use is to buy a very standard SCSI
  284. model; they cost more, but deliver very solid performance in return.
  285. Do not be fooled by very cheap drives that, in turn, deliver VERY LOW
  286. performance!  As always, you get what you pay for.
  287.  
  288. FreeBSD also does not support any of the ``IDE'' CD-ROM interfaces.
  289.  
  290. The Mitsumi driver is known to be extremely slow compared to SCSI
  291. drives.
  292.  
  293.  
  294. 2.4:  What multi-port serial cards are supported by FreeBSD?
  295.  
  296. AST/4 and BOCA 4/8/16 port cards.  Some unnamed clone cards have also
  297. been known to work, especially those that claim to be AST compatible.
  298. Check the sio(4) man page to get more information on configuring such
  299. cards.
  300.  
  301.  
  302. 2.5:  Does FreeBSD support the AHA-2742/2842 SCSI adapters from Adaptec?
  303.  
  304. Yes, though portions of the sources are currently GPL'd (that is to say,
  305. distributed under the GNU Public License), so be aware of the fact should
  306. you wish to distribute kernel binaries compiled with it - you MUST also
  307. provide the sources to the driver with the kernel image to stay legal
  308. with the GPL!  This is easily enough done by simply including the contents
  309. of /usr/src/sys/gnu/{aic7770,misc} on whatever media you distribute the
  310. kernel.
  311.  
  312. We are working to get the GPL restriction removed, but for now you should
  313. at least be aware of it.
  314.  
  315. NOTE: This support has been greatly upgraded in the lastest SNAP and current.
  316.  
  317. 2.6:  I have a Mumbleco bus mouse.  Is it supported and if so, how do I set
  318.       it up for XFree86?
  319.  
  320. FreeBSD supports the Logitech and ATI Inport bus mice.  You need to
  321. add the following line to the kernel config file and recompile for the
  322. Logitech and ATI mice:
  323.  
  324.         device        mse0    at isa? port 0x23c tty irq6 vector mseintr
  325.  
  326.  
  327. 2.7:  I have a PS/2 mouse (`keyboard' mouse) [Alternatively:  I have a
  328.       laptop with a track-ball mouse].  How do I use it?
  329.  
  330.  
  331.  
  332. 2.8:  What types of tape drives are supported under FreeBSD?
  333.  
  334. FreeBSD supports SCSI, QIC-02 and QIC-40/80 (Floppy based) tape
  335. drives.  This includes 8-mm (aka Exabyte) and DAT drives.
  336.  
  337.  
  338. 2.9:  What sound cards are supported by FreeBSD?
  339.  
  340. FreeBSD supports the SoundBlaster, SoundBlaster Pro, Pro Audio
  341. Spectrum 16, AdLib and Gravis UltraSound sound cards. There is also
  342. limited support for MPU-401 and compatible MIDI cards.  The
  343. SoundBlaster 16 and SoundBlaster 16 ASP cards are not yet supported.
  344. NOTE: This is only for sound!  This driver does not support CD-ROMs,
  345. SCSI or joysticks on these cards.
  346.  
  347.  
  348. 2.10:   What network cards does FreeBSD support?
  349.  
  350. There is support for the following cards:
  351.  
  352. `ed' driver:
  353.         NE2000 and 1000
  354.         WD/SMC 8003, 8013 and Elite Ultra (8216)
  355.         3Com 3c503 
  356.         And clones of the above
  357.  
  358. `de' driver:
  359.     DEC and compatible PCI controllers.
  360.  
  361. `le' driver:
  362.     DEC LANCE ethernet based controllers.
  363.  
  364. `ie' driver:
  365.         AT&T EN100/StarLAN 10
  366.         3Com 3c507 
  367.  
  368. `is' driver:
  369.         Isolan AT 4141-0
  370.         Isolink 4110
  371.  
  372. `ep' driver:
  373.         3com 3c509 (*)
  374.  
  375. `el' driver:
  376.     3com 3c501 (*)
  377.  
  378. `ze' driver:
  379.         IBM PCMCIA credit card adapter
  380.  
  381. `lnc' driver:
  382.     Unknown Lance based (*)
  383.  
  384. Note:    Drivers marked with (*) are known to have problems.
  385.  
  386. Note:    We also support TCP/IP over parallel lines.  At this point we are
  387.     incompatiable with other versions, but we hope to correct this in
  388.     the near future.
  389.  
  390. 2.11:  I have a 386/486sx/486SLC machine without a math co-processor.
  391.        Will this cause me any problems?
  392.  
  393. Generally no, but there are circumstances where you will take a hit,
  394. either in performance or accuracy of the math emulation code (see
  395. section 4.1).  In particular, drawing arcs in X will be VERY slow.  It
  396. is highly recommended that you lay out the $50 or so for a math
  397. co-processor; it's well worth it.  NOTE: Some math co-processors are
  398. better than others.  It pains us to say it, but nobody ever got fired
  399. for buying Intel.  Unless you're sure it works with FreeBSD, beware of
  400. clones.
  401.  
  402. 2.12:  What other devices does 2.X support?
  403.  
  404. Here is a listing of drivers that do not fit into any of the above areas.
  405.  
  406. b004.c        Driver for B004 compatiable Transputer boards
  407. ctx.c        Driver for CORTEX-I Frame grabber
  408. cx.c        Driver for CRONYX-SIGMA sync/async serial board
  409. gpib.c        Driver for National Instruments AT-GPIB and AT-GPIB/TNT boards
  410. pcaudio.c    Driver for PC speakers to allow the playing of audio files
  411. tw.c        Driver for the X-10 POWERHOUSE 
  412.  
  413. 2.13:  I am about to buy a new machine to run FreeBSD on and
  414.        want an idea of what other people are running.  Is there list
  415.        of other systems anywhere? 
  416.  
  417. Yes.  Please look at the file Systems.FAQ.  This file
  418. is a listing of hardware that people are running in their machines.
  419. Please note, this is a raw listing of equipment that other users
  420. have sent in, and does not constitute any kind of endorsement by the
  421. FreeBSD Project.
  422.  
  423. 2.14:    I have a lap-top with power management.  Can FreeBSD take advantage
  424.     of this?
  425.  
  426. Yes it can on certain machines.  Please look in the LINT kernel config 
  427. file under APM.
  428.  
  429.  
  430.  
  431. 3 Commercial Applications
  432. -------------------------
  433.  
  434. Note: This section is still very sparse, though we're hoping, of
  435. course, that companies will add to it! :) The FreeBSD group has no
  436. financial interest in any of the companies listed here but simply
  437. lists them as a public service (and feels that commercial interest in
  438. FreeBSD can have very positive effects on FreeBSD's long-term
  439. viability).  We encourage commercial software vendors to send their
  440. entries here for inclusion.
  441.  
  442.  
  443. 3.1:  Where can I get Motif for FreeBSD?
  444.  
  445. You can purchase Motif 1.2.3 for FreeBSD (SWiM) from the ACC Bookstore, 
  446. P.O. Box 3364, Westport CT. 06880.  1-800-546-7274 or FAX: 1-203-454-2582
  447.  
  448. This software works flawlessly for for FreeBSD 1.1.5 but has shown
  449. one problem with 2.0 in that the "uil" program core dumps.  This is
  450. apparently because of the way uil is installed, and it's quite possible
  451. that ACC will have a fixed version by the time you read this.  No
  452. other compatibility problems with the programs or libraries have been
  453. found, and ACC can hardly be blamed for failing to work perfectly with
  454. a brand-new release they haven't even seen yet! :)
  455.  
  456.  
  457. 3.2:  Are there any commercial X servers for some of the high-end
  458.       graphics cards like the Matrox or #9 I-128, or offering 8/16/24
  459.       bit deep pallettes?
  460.  
  461. Yes, X Inside Incorporated sells their Accelerated-X product for
  462. FreeBSD and other Intel based systems.
  463.  
  464. This high performance X Server offers easy configuration, support
  465. for multiple concurrent video boards and is distributed in binary
  466. form only.
  467.  
  468. Price is $99.50 (promotional price for Linux/FreeBSD version) for
  469. the 1.1 version, which is available now.
  470.  
  471. This product is for FreeBSD 1.1 and runs under 2.0 with the FreeBSD 1.1
  472. compatibility libs (`compat1xdist').
  473.  
  474. More info: URL http://www.xinside.com/
  475.     or URL ftp://ftp.xinside.com/accelx/1.1/prodinfo.txt
  476.     or email info@xinside.com
  477.     or phone +1(303)384-9999
  478.  
  479.  
  480. 3.3:  Any other applications I might be interested in?
  481.  
  482. RenderMorphics, Ltd. sells a high-speed 3D rendering package for
  483. FreeBSD called "Reality Lab" (tm).  Send email to info@render.com
  484. or call: +44(0)71-251-4411 / FAX: +44(0)71-251-0939
  485.  
  486. This package is also for FreeBSD 1.1.5 but has been tested and shown
  487. to run under FreeBSD 2.0 with the compat1xdist installed.
  488.  
  489. Thanks must be extended to all of these companies for showing enough faith
  490. in FreeBSD to port their products to it.  While we get no direct benefit
  491. from the sales of these products, the indirect benefits of FreeBSD
  492. proving itself to be a successful platform for such commercial interests
  493. will be immense!  We wish these companies every measure of success, and
  494. can only hope that others are encouraged to follow suit.
  495.  
  496.  
  497. 4 User Applications
  498. -------------------
  499.  
  500. 4.1:  I want to run X, how do I go about it?
  501.  
  502. First, get the XFree86 distribution of X11R6 from XFree86.cdrom.com.
  503. The version you want for FreeBSD 2.X and later is XFree86 3.1.1.  Follow
  504. the instructions for installation carefully. You may then wish to read
  505. the documentation for the ConfigXF86 tool, which assists you in
  506. configuring XFree86 for your particular graphics card/mouse/etc.
  507.  
  508. You may also wish to investigate the Xaccel server, which is available
  509. at a very reasonable price.  See section 3.2 for more details.
  510.  
  511. 4.2:  I've been trying to run ghostscript on a 386 (or 486sx) with no
  512.       math co-processor and I keep getting errors.  What's up?
  513.  
  514. You will need to add the alternate math emulator to your kernel, you do this
  515. by adding  the following to your kernel config file and it will be compiled in.
  516.  
  517. options                         GPL_MATH_EMULATE
  518.  
  519. NOTE:  You will need to remove the MATH_EMULATE option when you do this.
  520.  
  521.  
  522. 4.2:  I want all this neat software, but I haven't got the space or
  523.       CPU power to compile it all myself.  Is there any way of getting
  524.       binaries?
  525.  
  526. Yes.  We support the concept of a `package', which is essentially a
  527. gzipped binary distribution with a little extra intelligence embedded
  528. in it for doing any custom installation work required.  Packages can
  529. also be installed or deinstalled again easily without having to know
  530. the gory details.  CDROM people will have a packages/ directory on
  531. their CD, others can get the currently available packages from:
  532.  
  533.                 ftp://ftp.FreeBSD.ORG:pub/FreeBSD/packages
  534.  
  535. Note that all ports may not be available as packages, and that new
  536. packages are constantly being added.  It is always a good idea to
  537. check periodically to see which packages are available.  A README file
  538. in the packages directory provides more details on the care and
  539. feeding of the package software, so no explicit details will be given
  540. here.
  541.  
  542.  
  543.  
  544.  
  545. 5 Miscellaneous Questions
  546. ----------------
  547.  
  548. 5.1:  I've heard of something called FreeBSD-current.  How do I run it, and
  549.       where can I get more information?
  550.  
  551. Read the file /usr/src/share/FAQ/FreeBSD.current.policy,
  552. it will tell you all you need to know.
  553.  
  554.  
  555. 5.2:  What is this thing called `sup', and how do I use it?
  556.  
  557. SUP stands for Software Update Protocol, and was developed by CMU for
  558. keeping their development trees in sync.  We use it to keep remote
  559. sites in sync with our central development sources.
  560.  
  561. Unless you have direct internet connectivity, and don't care too much
  562. about the cost/duration of the sessions, you shouldn't use sup.  For
  563. those "low/expensive-bandwidth" applications, we have developed CTM,
  564. see 5.6 for more about that.
  565.  
  566. To use it, you need to have direct internet connectivity (not just
  567. mail or news).  First, pick up the sup_bin.tgz package from:
  568.  
  569.         ftp://ftp.FreeBSD.ORG:pub/FreeBSD/packages/sup_bin.tgz
  570.  
  571. Second, read the file /usr/src/share/FAQ/FreeBSD.sup.faq.
  572.  
  573. This file describes how to setup sup on your machine.  You may also
  574. want to look at /usr/src/share/FAQ/FreeBSD.*.supfile,
  575. which are a set of supfiles for supping from FreeBSD.ORG. 
  576.  
  577.  
  578. 5.3:  How do I create customized installation disks that I can give
  579.       out to other people at my site?
  580.  
  581. The entire process of creating installation disks and source and
  582. binary archives is automated by various targets in
  583. /usr/src/etc/Makefile.  The information there should be enough to get
  584. you started.
  585.  
  586. 5.4:  How do I re-build my system without clobbering the existing
  587.       installed binaries?
  588.  
  589. If you define the environment variable DESTDIR while running `make
  590. world' or `make install', the newly-created binaries will be deposited
  591. in a directory tree identical to the installed one, rooted at
  592. ${DESTDIR}.  Some random combination of shared libraries modifications
  593. and program rebuilds can cause this to fail in `make world', however.
  594.  
  595.  
  596. 5.5:  When my system booted, it told me that ``(bus speed defaulted)''.
  597.       What does that mean?
  598.  
  599. The Adaptec 1542 SCSI host adapters allow the user to configure their
  600. bus access speed in software.  Previous versions of the 1542 driver tried
  601. to determine the fastest usable speed and set the adapter to that.  We
  602. found that this breaks some users' systems, so you now have to define
  603. the ``TUNE_1542''' kernel configuration option in order to have this
  604. take place.  Using it on those systems where it works may make your
  605. disks run faster, but on those systems where it doesn't, your data could
  606. be corrupted.
  607.  
  608. 5.6:  I would like to track changes to current and do not have net access.  
  609.       Is there any way besides downloading the whole tree?
  610.  
  611. Yes, you can use the CTM facility.  Check out the ctm.FAQ file or
  612.     ftp://freefall.cdrom.com/pub/CTM/README
  613. for more information.
  614.  
  615. 5.7:  How do I split up large binary files into smaller 240k files
  616.       like the distribution does?
  617.  
  618. Newer BSD based systems have a "-b" option to split that allows them to
  619. split files on arbitary byte bondaries.
  620.  
  621. Here is an example from /usr/src/Makefile.
  622. bin-tarball:
  623.     (cd ${DISTDIR}; \
  624.         tar cf - . \
  625.         gzip --no-name -9 -c | \
  626.         split -b 240640 - \
  627.         ${RELEASEDIR}/tarballs/bindist/bin_tgz.)
  628.  
  629.  
  630. <XXX> 5.8:  I've had a couple of system panics and would like to be able
  631.       browse the system dumps.  The normal kernel is stripped and
  632.       I don't want to run a bloated kernel.  What can I do?
  633.  
  634. 5.9:  I just got a Perl application and it's bombing looking for
  635.       *.ph.  Where is it?
  636.  
  637. There was a minor SNAFU in the 2.0-R bindist and they got left out.
  638. If you have the source, you just have to do a "make install" from
  639. /usr/src/gnu/usr.bin/perl/lib and everything will be fine.  Or you
  640. may ftp to phoenix-gw.gbdata.com and grab them from ~/pub/perl/libs.tar.gz.
  641.  
  642.  
  643.  
  644. 6 Kernel Configuration
  645. ----------------------
  646.  
  647. 6.0:  Ok, so how DO I compile my own kernel, anyway?
  648.  
  649. Before you can compile a kernel, you need either the complete srcdist
  650. or, at the minimum, the kerndist loaded on your system.  This provides
  651. the necessary sources for building the kernel, as we have a policy of
  652. NOT shipping our kernels in linkable object form as most commercial
  653. UNIX vendors do.  Shipping the source takes a bit more space, but it also
  654. means that you can refer to the actual kernel sources in case of difficulty
  655. or to further your understanding of what's *actually* happening.
  656.  
  657. Anyway, to answer the question, once you have the kerndist or srcdist
  658. loaded, do this:
  659.  
  660.     6.0.1:        cd /usr/src/sys/i386/conf
  661.     6.0.2:        cp GENERIC MYKERNEL
  662.     6.0.3:        vi MYKERNEL
  663.     6.0.4:        config MYKERNEL
  664.     6.0.5:        cd ../../compile/MYKERNEL
  665.     6.0.6:        make all
  666.     6.0.7:        make install
  667.     6.0.8:        reboot
  668.  
  669. Step 6.0.2 may not be necessary if you already have a kernel configuration
  670. file from a previous release of FreeBSD 2.x. - simply bring your old one
  671. over and check it carefully for any drivers that may have changed boot
  672. syntax or been rendered obsolete.
  673.  
  674. A good kernel config file to look into is LINT, which contains entries for
  675. *all* possible kernel options and documents them fairly well.  The GENERIC
  676. kernel config file is used to build the initial release you probably loaded
  677. (unless you upgraded in-place) and contains entries for the most common
  678. configurations.  It's a pretty good place to start from.
  679.  
  680. If you don't need to make any changes to GENERIC, you can also skip step
  681. 6.0.3, where you customize the kernel for your configuration.  Step 6.0.7
  682. should only be undertaken if step 6.0.6 succeeds.  This will copy
  683. the new kernel image to /kernel and BACK UP YOUR OLD ONE IN /kernel.old!
  684. It's very important to remember this in case the new kernel fails to work
  685. for some reason - you can still select /kernel.old at the boot prompt to
  686. boot the old one.  When you reboot, the new kernel will boot by default.
  687.  
  688. If the compile in 6.0.6 falls over for some reason, then it's recommended
  689. that you start from step 6.0.4 but substitute GENERIC for MYKERNEL.  If you
  690. can generate a GENERIC kernel, then it's likely something in your special
  691. configuration file that's bad (or you've uncovered a bug!).  If the build
  692. of the GENERIC kernel does NOT succeed, then it's very likely that your
  693. sources are somehow corrupted.
  694.  
  695. Finally, if you need to see your original boot messages again to compile
  696. a new kernel that's better tailored to your hardware, try the `dmesg' command.
  697. It should print out all the boot-time messages printed by your old kernel,
  698. some of which may be quite helpful in configuring the new one.
  699.  
  700.  
  701. 6.1:  When I compile a kernel with multi-port serial code, it tells me
  702.       that only the first port is probed and the rest skipped due to
  703.       interrupt conflicts.  How do I fix this?
  704.  
  705. The problem here is that FreeBSD has code built-in to keep the kernel
  706. from getting trashed due to hardware or software conflicts.  The way
  707. to fix this is to leave out the IRQ settings on other ports besides
  708. the first.  Here is a example:
  709.  
  710. #
  711. # Multiport high-speed serial line - 16550 UARTS
  712. #
  713. device    sio2    at isa? port 0x2a0 tty irq 5 flags 0x501 vector siointr
  714. device    sio3    at isa? port 0x2a8 tty flags 0x501 vector siointr 
  715. device    sio4    at isa? port 0x2b0 tty flags 0x501 vector siointr
  716. device    sio5    at isa? port 0x2b8 tty flags 0x501 vector siointr
  717.  
  718.  
  719. 6.2:  FreeBSD is supposed to come with support for QIC-40/80 drives but
  720.       when I look, I can't find it.
  721.  
  722. You need to uncomment the following line in the generic config file
  723. (or add it to your config file) and recompile.
  724.  
  725. controller      fdc0    at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
  726. disk            fd0     at fdc0 drive 0
  727. disk        fd1     at fdc0 drive 1
  728. #tape           ft0     at fdc0 drive 2
  729. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  730.  
  731. You will have a device called /dev/ft0, which you can write to through
  732. a special program to manage it called `ft' - see the man page on ft for
  733. further details.  Versions previous to -current also had some trouble dealing
  734. wiht bad tape media; if you have trouble where ft seems to go back and forth
  735. over the same spot, try grabbing the latest version of ft from /usr/src/sbin/ft 
  736. in current and try that.
  737.  
  738.  
  739. 6.3:  Does FreeBSD support IPC primitives like those in System V?
  740.  
  741. Yes, FreeBSD supports System V-style IPC.  This includes shared
  742. memory, messages and semaphores.  You need to add the following lines
  743. to your kernel config to enable them.
  744.  
  745. options         SYSVSHM
  746. options         "SHMMAXPGS=64"          # 256Kb of sharable memory
  747. options         SYSVSEM                 # enable for semaphores
  748. options         SYSVMSG                 # enable for messaging
  749.  
  750. Recompile and install.
  751.  
  752.  
  753. 6.4:  Will FreeBSD ever support other architectures?
  754.  
  755. Several different groups have expressed interest in working on
  756. multi-architecture support for FreeBSD.  If you are interested in
  757. doing so, please contact the developers at
  758. <FreeBSD-hackers@FreeBSD.ORG> for more information on our
  759. strategy for porting.
  760.  
  761.  
  762. 6.5:  I just wrote a device driver for a Foobar Systems, Inc.
  763.       Integrated Adaptive Gronkulator card.  How do I get the
  764.       appropriate major numbers assigned?
  765.  
  766. This depends on whether or not you plan on making the driver publicly
  767. available.  If you do, then please send us a copy of the driver source
  768. code, plus the appropriate modifications to files.i386, a sample
  769. configuration file entry, and the appropriate MAKEDEV code to create
  770. any special files your device uses.  If you do not, or are unable to
  771. because of licensing restrictions, then character major number 32 and
  772. block major number 8 have been reserved specifically for this purpose;
  773. please use them.  In any case, we'd appreciate hearing about your
  774. driver on <FreeBSD-hackers@FreeBSD.ORG>.
  775.  
  776.  
  777.  
  778. 7 System Administration
  779. -----------------------
  780.  
  781. 7.1:  How do I add a user easily?  I read the man page and am more confused
  782.       than ever!  [Alternatively:  I didn't read the man page, I never read
  783.       man pages! :-) ]
  784.  
  785. Use the adduser command.
  786.  
  787.  
  788. <XXX> 7.2: I'm trying to use my printer and keep running into problems.  I tried
  789.      looking at /etc/printcap, but it's close to useless.  Any ideas?
  790.  
  791.  
  792.  
  793. 8 Networking
  794. ------------
  795.  
  796.  
  797. 8.2:  I've heard that you can use a FreeBSD box as a dedicated network
  798.       router - is there any easy support for this?
  799.  
  800. Internet standards and good engineering practice prohibit us from
  801. providing packet forwarding by default in FreeBSD.  You can enable
  802. this support by adding `options GATEWAY' to your kernel configuration
  803. file and recompiling.  In most cases, you will also need to run a
  804. routing process to tell other systems on your network about your
  805. router; FreeBSD comes with the standard BSD routing daemon routed(8),
  806. or for more complex situations you may want to try GateD (available by
  807. FTP from gated.Cornell.edu) which supports FreeBSD as of 3_5Alpha7.
  808.  
  809. It is our duty to warn you that, even when FreeBSD is configured in
  810. this way, it does not completely comply with the Internet standard
  811. requirements for routers; however, it comes close enough for ordinary
  812. usage.
  813.  
  814.  
  815. 8.3:  Does FreeBSD support SLIP and PPP?
  816.  
  817. Yes.  See the man pages for slattach(8) and/or pppd(8) if you're using
  818. FreeBSD to connect to another site.  If you're using FreeBSD as a
  819. server for other machines, look at the man page for sliplogin(8).
  820. You may also want to take a look at the slip FAQ in:
  821.              /usr/src/share/FAQ/Slip.FAQ
  822.  
  823. 8.4:  How do I get my network set up?  I don't see how to make my
  824.       /dev/ed0 device!
  825.  
  826. In the Berkeley networking framework, network interfaces are only
  827. directly accessible by kernel code.  Please see the /etc/netstart file
  828. and the manual pages for the various network programs mentioned there
  829. for more information.  If this leaves you totally confused, then you
  830. should pick up a book describing network administration on another
  831. BSD-related operating system; with few significant exceptions,
  832. administering networking on FreeBSD is basically the same as on SunOS
  833. 4.0 or Ultrix.
  834.  
  835. 8.5:  How do I get my 3C503 to use the other network port?
  836.  
  837. Use `ifconfig ed0' to see whether the ALTPHYS flag is set, and then
  838. use either `ifconfig ed0 altphys' if it was off, or `ifconfig ed0
  839. -altphys' if it was on.
  840.  
  841. 8.6:  I'm having problems with NFS to/from FreeBSD and my Wuffotronics
  842.       Workstation / generic NFS appliance, where should I look first?
  843.  
  844. Certain PC network cards are better than others (to put it mildly) and
  845. can sometimes cause problems with network intensive applications like
  846. NFS.  See /usr/src/share/FAQ/NFS.FAQ for more information on this
  847. topic.
  848.  
  849. 8.8:  I want to enable IP multicast support on my FreeBSD box, how do I do it?
  850.       [Alternatively:  What the heck IS multicasting and what applications
  851.       make use of it?]
  852.  
  853. Multicast host operations are fully supported in FreeBSD 2.0 by default.
  854. If you want your box to run as a multicast router, you will need to load
  855. the ip_mroute_mod loadable kernel module and run mrouted.
  856.  
  857. For more information:
  858.  
  859. Product        Description        Where
  860. --------------- ----------------------- ---------------------------------------
  861. faq.txt        Mbone FAQ        ftp.isi.edu:/mbone/faq.txt
  862. imm/immserv    IMage Multicast     ftp.hawaii.edu:/paccom/imm.src.tar.Z
  863.         for jpg/gif images.
  864. nv        Network Video.        ftp.parc.xerox.com:
  865.                     /pub/net-reseach/exp/nv3.3alpha.tar.Z
  866. vat        LBL Visual Audio Tool.    ftp.ee.lbl.gov:
  867.                     /conferencing/vat/i386-vat.tar.Z
  868. wb        LBL White Board.    ftp.ee.lbl.gov:
  869.                     /conferencing/wb/i386-wb.tar.Z
  870. mmcc        MultiMedia Conference    ftp.isi.edu:
  871.         Control program        /confctrl/mmcc/mmcc-intel.tar.Z
  872. rtpqual        Tools for testing the    ftp.psc.edu:/pub/net_tools/rtpqual.c
  873.         quality of RTP packets.
  874. vat_nv_record    Recording tools for vat    ftp.sics.se:archive/vat_nv_record.tar.Z
  875.         and nv.
  876.  
  877.  
  878.  
  879. 9 Serial Communications
  880. -----------------------
  881.  
  882.  
  883. NOTE: Anyone wishing to submit a FAQ entry on how to get tip and cu working
  884.       would have it much appreciated!  We all use Kermit over here! :-)
  885.  
  886. -----------------------------------------------------------------------------
  887. If you see a problem with this FAQ, or wish to submit an entry, please
  888. mail us at <FreeBSD-FAQ@FreeBSD.ORG>.  We appreciate your
  889. feedback, and cannot make this a better FAQ without your help!
  890.  
  891.  
  892.                                         FreeBSD Core Team
  893.  
  894. -----------------------------------------------------------------------------
  895.  
  896. ACKNOWLEDGMENTS:
  897.  
  898. Gary Clark II           - FreeBSD FAQ maintenance man (For one last time:)) 
  899. Jordan Hubbard          - Janitorial services (I don't do windows)
  900. Garrett Wollman         - Networking and formatting
  901. Robert Oliver, Jr.      - Ideas and dumb questions (That made me think)
  902. Ollivier Robert         - Invaluable feedback and contributions
  903. Jim Lowe                - Multicast information 
  904. The FreeBSD Team        - Kvetching, moaning, submitting data
  905.  
  906. And to any others we've forgotten, apologies and heartfelt thanks!
  907.  
  908.